package com.example.springboot.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TruckOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TruckOrderExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Byte value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Byte value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Byte value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Byte value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Byte value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Byte> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Byte> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Byte value1, Byte value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andContactPersonIsNull() {
            addCriterion("contact_person is null");
            return (Criteria) this;
        }

        public Criteria andContactPersonIsNotNull() {
            addCriterion("contact_person is not null");
            return (Criteria) this;
        }

        public Criteria andContactPersonEqualTo(String value) {
            addCriterion("contact_person =", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonNotEqualTo(String value) {
            addCriterion("contact_person <>", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonGreaterThan(String value) {
            addCriterion("contact_person >", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonGreaterThanOrEqualTo(String value) {
            addCriterion("contact_person >=", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonLessThan(String value) {
            addCriterion("contact_person <", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonLessThanOrEqualTo(String value) {
            addCriterion("contact_person <=", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonLike(String value) {
            addCriterion("contact_person like", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonNotLike(String value) {
            addCriterion("contact_person not like", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonIn(List<String> values) {
            addCriterion("contact_person in", values, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonNotIn(List<String> values) {
            addCriterion("contact_person not in", values, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonBetween(String value1, String value2) {
            addCriterion("contact_person between", value1, value2, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonNotBetween(String value1, String value2) {
            addCriterion("contact_person not between", value1, value2, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andCompanyIsNull() {
            addCriterion("company is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIsNotNull() {
            addCriterion("company is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyEqualTo(String value) {
            addCriterion("company =", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotEqualTo(String value) {
            addCriterion("company <>", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyGreaterThan(String value) {
            addCriterion("company >", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("company >=", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLessThan(String value) {
            addCriterion("company <", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLessThanOrEqualTo(String value) {
            addCriterion("company <=", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLike(String value) {
            addCriterion("company like", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotLike(String value) {
            addCriterion("company not like", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyIn(List<String> values) {
            addCriterion("company in", values, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotIn(List<String> values) {
            addCriterion("company not in", values, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyBetween(String value1, String value2) {
            addCriterion("company between", value1, value2, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotBetween(String value1, String value2) {
            addCriterion("company not between", value1, value2, "company");
            return (Criteria) this;
        }

        public Criteria andDestinationIsNull() {
            addCriterion("destination is null");
            return (Criteria) this;
        }

        public Criteria andDestinationIsNotNull() {
            addCriterion("destination is not null");
            return (Criteria) this;
        }

        public Criteria andDestinationEqualTo(String value) {
            addCriterion("destination =", value, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationNotEqualTo(String value) {
            addCriterion("destination <>", value, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationGreaterThan(String value) {
            addCriterion("destination >", value, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationGreaterThanOrEqualTo(String value) {
            addCriterion("destination >=", value, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationLessThan(String value) {
            addCriterion("destination <", value, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationLessThanOrEqualTo(String value) {
            addCriterion("destination <=", value, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationLike(String value) {
            addCriterion("destination like", value, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationNotLike(String value) {
            addCriterion("destination not like", value, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationIn(List<String> values) {
            addCriterion("destination in", values, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationNotIn(List<String> values) {
            addCriterion("destination not in", values, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationBetween(String value1, String value2) {
            addCriterion("destination between", value1, value2, "destination");
            return (Criteria) this;
        }

        public Criteria andDestinationNotBetween(String value1, String value2) {
            addCriterion("destination not between", value1, value2, "destination");
            return (Criteria) this;
        }

        public Criteria andTamountIsNull() {
            addCriterion("tamount is null");
            return (Criteria) this;
        }

        public Criteria andTamountIsNotNull() {
            addCriterion("tamount is not null");
            return (Criteria) this;
        }

        public Criteria andTamountEqualTo(Integer value) {
            addCriterion("tamount =", value, "tamount");
            return (Criteria) this;
        }

        public Criteria andTamountNotEqualTo(Integer value) {
            addCriterion("tamount <>", value, "tamount");
            return (Criteria) this;
        }

        public Criteria andTamountGreaterThan(Integer value) {
            addCriterion("tamount >", value, "tamount");
            return (Criteria) this;
        }

        public Criteria andTamountGreaterThanOrEqualTo(Integer value) {
            addCriterion("tamount >=", value, "tamount");
            return (Criteria) this;
        }

        public Criteria andTamountLessThan(Integer value) {
            addCriterion("tamount <", value, "tamount");
            return (Criteria) this;
        }

        public Criteria andTamountLessThanOrEqualTo(Integer value) {
            addCriterion("tamount <=", value, "tamount");
            return (Criteria) this;
        }

        public Criteria andTamountIn(List<Integer> values) {
            addCriterion("tamount in", values, "tamount");
            return (Criteria) this;
        }

        public Criteria andTamountNotIn(List<Integer> values) {
            addCriterion("tamount not in", values, "tamount");
            return (Criteria) this;
        }

        public Criteria andTamountBetween(Integer value1, Integer value2) {
            addCriterion("tamount between", value1, value2, "tamount");
            return (Criteria) this;
        }

        public Criteria andTamountNotBetween(Integer value1, Integer value2) {
            addCriterion("tamount not between", value1, value2, "tamount");
            return (Criteria) this;
        }

        public Criteria andTdetailIsNull() {
            addCriterion("tdetail is null");
            return (Criteria) this;
        }

        public Criteria andTdetailIsNotNull() {
            addCriterion("tdetail is not null");
            return (Criteria) this;
        }

        public Criteria andTdetailEqualTo(String value) {
            addCriterion("tdetail =", value, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailNotEqualTo(String value) {
            addCriterion("tdetail <>", value, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailGreaterThan(String value) {
            addCriterion("tdetail >", value, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailGreaterThanOrEqualTo(String value) {
            addCriterion("tdetail >=", value, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailLessThan(String value) {
            addCriterion("tdetail <", value, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailLessThanOrEqualTo(String value) {
            addCriterion("tdetail <=", value, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailLike(String value) {
            addCriterion("tdetail like", value, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailNotLike(String value) {
            addCriterion("tdetail not like", value, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailIn(List<String> values) {
            addCriterion("tdetail in", values, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailNotIn(List<String> values) {
            addCriterion("tdetail not in", values, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailBetween(String value1, String value2) {
            addCriterion("tdetail between", value1, value2, "tdetail");
            return (Criteria) this;
        }

        public Criteria andTdetailNotBetween(String value1, String value2) {
            addCriterion("tdetail not between", value1, value2, "tdetail");
            return (Criteria) this;
        }

        public Criteria andDamountIsNull() {
            addCriterion("damount is null");
            return (Criteria) this;
        }

        public Criteria andDamountIsNotNull() {
            addCriterion("damount is not null");
            return (Criteria) this;
        }

        public Criteria andDamountEqualTo(Integer value) {
            addCriterion("damount =", value, "damount");
            return (Criteria) this;
        }

        public Criteria andDamountNotEqualTo(Integer value) {
            addCriterion("damount <>", value, "damount");
            return (Criteria) this;
        }

        public Criteria andDamountGreaterThan(Integer value) {
            addCriterion("damount >", value, "damount");
            return (Criteria) this;
        }

        public Criteria andDamountGreaterThanOrEqualTo(Integer value) {
            addCriterion("damount >=", value, "damount");
            return (Criteria) this;
        }

        public Criteria andDamountLessThan(Integer value) {
            addCriterion("damount <", value, "damount");
            return (Criteria) this;
        }

        public Criteria andDamountLessThanOrEqualTo(Integer value) {
            addCriterion("damount <=", value, "damount");
            return (Criteria) this;
        }

        public Criteria andDamountIn(List<Integer> values) {
            addCriterion("damount in", values, "damount");
            return (Criteria) this;
        }

        public Criteria andDamountNotIn(List<Integer> values) {
            addCriterion("damount not in", values, "damount");
            return (Criteria) this;
        }

        public Criteria andDamountBetween(Integer value1, Integer value2) {
            addCriterion("damount between", value1, value2, "damount");
            return (Criteria) this;
        }

        public Criteria andDamountNotBetween(Integer value1, Integer value2) {
            addCriterion("damount not between", value1, value2, "damount");
            return (Criteria) this;
        }

        public Criteria andPamountIsNull() {
            addCriterion("pamount is null");
            return (Criteria) this;
        }

        public Criteria andPamountIsNotNull() {
            addCriterion("pamount is not null");
            return (Criteria) this;
        }

        public Criteria andPamountEqualTo(Integer value) {
            addCriterion("pamount =", value, "pamount");
            return (Criteria) this;
        }

        public Criteria andPamountNotEqualTo(Integer value) {
            addCriterion("pamount <>", value, "pamount");
            return (Criteria) this;
        }

        public Criteria andPamountGreaterThan(Integer value) {
            addCriterion("pamount >", value, "pamount");
            return (Criteria) this;
        }

        public Criteria andPamountGreaterThanOrEqualTo(Integer value) {
            addCriterion("pamount >=", value, "pamount");
            return (Criteria) this;
        }

        public Criteria andPamountLessThan(Integer value) {
            addCriterion("pamount <", value, "pamount");
            return (Criteria) this;
        }

        public Criteria andPamountLessThanOrEqualTo(Integer value) {
            addCriterion("pamount <=", value, "pamount");
            return (Criteria) this;
        }

        public Criteria andPamountIn(List<Integer> values) {
            addCriterion("pamount in", values, "pamount");
            return (Criteria) this;
        }

        public Criteria andPamountNotIn(List<Integer> values) {
            addCriterion("pamount not in", values, "pamount");
            return (Criteria) this;
        }

        public Criteria andPamountBetween(Integer value1, Integer value2) {
            addCriterion("pamount between", value1, value2, "pamount");
            return (Criteria) this;
        }

        public Criteria andPamountNotBetween(Integer value1, Integer value2) {
            addCriterion("pamount not between", value1, value2, "pamount");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeIsNull() {
            addCriterion("arrange_time is null");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeIsNotNull() {
            addCriterion("arrange_time is not null");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeEqualTo(Date value) {
            addCriterion("arrange_time =", value, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeNotEqualTo(Date value) {
            addCriterion("arrange_time <>", value, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeGreaterThan(Date value) {
            addCriterion("arrange_time >", value, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("arrange_time >=", value, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeLessThan(Date value) {
            addCriterion("arrange_time <", value, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeLessThanOrEqualTo(Date value) {
            addCriterion("arrange_time <=", value, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeIn(List<Date> values) {
            addCriterion("arrange_time in", values, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeNotIn(List<Date> values) {
            addCriterion("arrange_time not in", values, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeBetween(Date value1, Date value2) {
            addCriterion("arrange_time between", value1, value2, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andArrangeTimeNotBetween(Date value1, Date value2) {
            addCriterion("arrange_time not between", value1, value2, "arrangeTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIsNull() {
            addCriterion("finish_time is null");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIsNotNull() {
            addCriterion("finish_time is not null");
            return (Criteria) this;
        }

        public Criteria andFinishTimeEqualTo(Date value) {
            addCriterion("finish_time =", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotEqualTo(Date value) {
            addCriterion("finish_time <>", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeGreaterThan(Date value) {
            addCriterion("finish_time >", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("finish_time >=", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeLessThan(Date value) {
            addCriterion("finish_time <", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeLessThanOrEqualTo(Date value) {
            addCriterion("finish_time <=", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIn(List<Date> values) {
            addCriterion("finish_time in", values, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotIn(List<Date> values) {
            addCriterion("finish_time not in", values, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeBetween(Date value1, Date value2) {
            addCriterion("finish_time between", value1, value2, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotBetween(Date value1, Date value2) {
            addCriterion("finish_time not between", value1, value2, "finishTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andNormalIsNull() {
            addCriterion("normal is null");
            return (Criteria) this;
        }

        public Criteria andNormalIsNotNull() {
            addCriterion("normal is not null");
            return (Criteria) this;
        }

        public Criteria andNormalEqualTo(Integer value) {
            addCriterion("normal =", value, "normal");
            return (Criteria) this;
        }

        public Criteria andNormalNotEqualTo(Integer value) {
            addCriterion("normal <>", value, "normal");
            return (Criteria) this;
        }

        public Criteria andNormalGreaterThan(Integer value) {
            addCriterion("normal >", value, "normal");
            return (Criteria) this;
        }

        public Criteria andNormalGreaterThanOrEqualTo(Integer value) {
            addCriterion("normal >=", value, "normal");
            return (Criteria) this;
        }

        public Criteria andNormalLessThan(Integer value) {
            addCriterion("normal <", value, "normal");
            return (Criteria) this;
        }

        public Criteria andNormalLessThanOrEqualTo(Integer value) {
            addCriterion("normal <=", value, "normal");
            return (Criteria) this;
        }

        public Criteria andNormalIn(List<Integer> values) {
            addCriterion("normal in", values, "normal");
            return (Criteria) this;
        }

        public Criteria andNormalNotIn(List<Integer> values) {
            addCriterion("normal not in", values, "normal");
            return (Criteria) this;
        }

        public Criteria andNormalBetween(Integer value1, Integer value2) {
            addCriterion("normal between", value1, value2, "normal");
            return (Criteria) this;
        }

        public Criteria andNormalNotBetween(Integer value1, Integer value2) {
            addCriterion("normal not between", value1, value2, "normal");
            return (Criteria) this;
        }

        public Criteria andEmptyIsNull() {
            addCriterion("empty is null");
            return (Criteria) this;
        }

        public Criteria andEmptyIsNotNull() {
            addCriterion("empty is not null");
            return (Criteria) this;
        }

        public Criteria andEmptyEqualTo(Integer value) {
            addCriterion("empty =", value, "empty");
            return (Criteria) this;
        }

        public Criteria andEmptyNotEqualTo(Integer value) {
            addCriterion("empty <>", value, "empty");
            return (Criteria) this;
        }

        public Criteria andEmptyGreaterThan(Integer value) {
            addCriterion("empty >", value, "empty");
            return (Criteria) this;
        }

        public Criteria andEmptyGreaterThanOrEqualTo(Integer value) {
            addCriterion("empty >=", value, "empty");
            return (Criteria) this;
        }

        public Criteria andEmptyLessThan(Integer value) {
            addCriterion("empty <", value, "empty");
            return (Criteria) this;
        }

        public Criteria andEmptyLessThanOrEqualTo(Integer value) {
            addCriterion("empty <=", value, "empty");
            return (Criteria) this;
        }

        public Criteria andEmptyIn(List<Integer> values) {
            addCriterion("empty in", values, "empty");
            return (Criteria) this;
        }

        public Criteria andEmptyNotIn(List<Integer> values) {
            addCriterion("empty not in", values, "empty");
            return (Criteria) this;
        }

        public Criteria andEmptyBetween(Integer value1, Integer value2) {
            addCriterion("empty between", value1, value2, "empty");
            return (Criteria) this;
        }

        public Criteria andEmptyNotBetween(Integer value1, Integer value2) {
            addCriterion("empty not between", value1, value2, "empty");
            return (Criteria) this;
        }

        public Criteria andHeavyIsNull() {
            addCriterion("heavy is null");
            return (Criteria) this;
        }

        public Criteria andHeavyIsNotNull() {
            addCriterion("heavy is not null");
            return (Criteria) this;
        }

        public Criteria andHeavyEqualTo(Integer value) {
            addCriterion("heavy =", value, "heavy");
            return (Criteria) this;
        }

        public Criteria andHeavyNotEqualTo(Integer value) {
            addCriterion("heavy <>", value, "heavy");
            return (Criteria) this;
        }

        public Criteria andHeavyGreaterThan(Integer value) {
            addCriterion("heavy >", value, "heavy");
            return (Criteria) this;
        }

        public Criteria andHeavyGreaterThanOrEqualTo(Integer value) {
            addCriterion("heavy >=", value, "heavy");
            return (Criteria) this;
        }

        public Criteria andHeavyLessThan(Integer value) {
            addCriterion("heavy <", value, "heavy");
            return (Criteria) this;
        }

        public Criteria andHeavyLessThanOrEqualTo(Integer value) {
            addCriterion("heavy <=", value, "heavy");
            return (Criteria) this;
        }

        public Criteria andHeavyIn(List<Integer> values) {
            addCriterion("heavy in", values, "heavy");
            return (Criteria) this;
        }

        public Criteria andHeavyNotIn(List<Integer> values) {
            addCriterion("heavy not in", values, "heavy");
            return (Criteria) this;
        }

        public Criteria andHeavyBetween(Integer value1, Integer value2) {
            addCriterion("heavy between", value1, value2, "heavy");
            return (Criteria) this;
        }

        public Criteria andHeavyNotBetween(Integer value1, Integer value2) {
            addCriterion("heavy not between", value1, value2, "heavy");
            return (Criteria) this;
        }

        public Criteria andFreezeIsNull() {
            addCriterion("freeze is null");
            return (Criteria) this;
        }

        public Criteria andFreezeIsNotNull() {
            addCriterion("freeze is not null");
            return (Criteria) this;
        }

        public Criteria andFreezeEqualTo(Integer value) {
            addCriterion("freeze =", value, "freeze");
            return (Criteria) this;
        }

        public Criteria andFreezeNotEqualTo(Integer value) {
            addCriterion("freeze <>", value, "freeze");
            return (Criteria) this;
        }

        public Criteria andFreezeGreaterThan(Integer value) {
            addCriterion("freeze >", value, "freeze");
            return (Criteria) this;
        }

        public Criteria andFreezeGreaterThanOrEqualTo(Integer value) {
            addCriterion("freeze >=", value, "freeze");
            return (Criteria) this;
        }

        public Criteria andFreezeLessThan(Integer value) {
            addCriterion("freeze <", value, "freeze");
            return (Criteria) this;
        }

        public Criteria andFreezeLessThanOrEqualTo(Integer value) {
            addCriterion("freeze <=", value, "freeze");
            return (Criteria) this;
        }

        public Criteria andFreezeIn(List<Integer> values) {
            addCriterion("freeze in", values, "freeze");
            return (Criteria) this;
        }

        public Criteria andFreezeNotIn(List<Integer> values) {
            addCriterion("freeze not in", values, "freeze");
            return (Criteria) this;
        }

        public Criteria andFreezeBetween(Integer value1, Integer value2) {
            addCriterion("freeze between", value1, value2, "freeze");
            return (Criteria) this;
        }

        public Criteria andFreezeNotBetween(Integer value1, Integer value2) {
            addCriterion("freeze not between", value1, value2, "freeze");
            return (Criteria) this;
        }

        public Criteria andDangerIsNull() {
            addCriterion("danger is null");
            return (Criteria) this;
        }

        public Criteria andDangerIsNotNull() {
            addCriterion("danger is not null");
            return (Criteria) this;
        }

        public Criteria andDangerEqualTo(Integer value) {
            addCriterion("danger =", value, "danger");
            return (Criteria) this;
        }

        public Criteria andDangerNotEqualTo(Integer value) {
            addCriterion("danger <>", value, "danger");
            return (Criteria) this;
        }

        public Criteria andDangerGreaterThan(Integer value) {
            addCriterion("danger >", value, "danger");
            return (Criteria) this;
        }

        public Criteria andDangerGreaterThanOrEqualTo(Integer value) {
            addCriterion("danger >=", value, "danger");
            return (Criteria) this;
        }

        public Criteria andDangerLessThan(Integer value) {
            addCriterion("danger <", value, "danger");
            return (Criteria) this;
        }

        public Criteria andDangerLessThanOrEqualTo(Integer value) {
            addCriterion("danger <=", value, "danger");
            return (Criteria) this;
        }

        public Criteria andDangerIn(List<Integer> values) {
            addCriterion("danger in", values, "danger");
            return (Criteria) this;
        }

        public Criteria andDangerNotIn(List<Integer> values) {
            addCriterion("danger not in", values, "danger");
            return (Criteria) this;
        }

        public Criteria andDangerBetween(Integer value1, Integer value2) {
            addCriterion("danger between", value1, value2, "danger");
            return (Criteria) this;
        }

        public Criteria andDangerNotBetween(Integer value1, Integer value2) {
            addCriterion("danger not between", value1, value2, "danger");
            return (Criteria) this;
        }

        public Criteria andOverweightIsNull() {
            addCriterion("overweight is null");
            return (Criteria) this;
        }

        public Criteria andOverweightIsNotNull() {
            addCriterion("overweight is not null");
            return (Criteria) this;
        }

        public Criteria andOverweightEqualTo(Integer value) {
            addCriterion("overweight =", value, "overweight");
            return (Criteria) this;
        }

        public Criteria andOverweightNotEqualTo(Integer value) {
            addCriterion("overweight <>", value, "overweight");
            return (Criteria) this;
        }

        public Criteria andOverweightGreaterThan(Integer value) {
            addCriterion("overweight >", value, "overweight");
            return (Criteria) this;
        }

        public Criteria andOverweightGreaterThanOrEqualTo(Integer value) {
            addCriterion("overweight >=", value, "overweight");
            return (Criteria) this;
        }

        public Criteria andOverweightLessThan(Integer value) {
            addCriterion("overweight <", value, "overweight");
            return (Criteria) this;
        }

        public Criteria andOverweightLessThanOrEqualTo(Integer value) {
            addCriterion("overweight <=", value, "overweight");
            return (Criteria) this;
        }

        public Criteria andOverweightIn(List<Integer> values) {
            addCriterion("overweight in", values, "overweight");
            return (Criteria) this;
        }

        public Criteria andOverweightNotIn(List<Integer> values) {
            addCriterion("overweight not in", values, "overweight");
            return (Criteria) this;
        }

        public Criteria andOverweightBetween(Integer value1, Integer value2) {
            addCriterion("overweight between", value1, value2, "overweight");
            return (Criteria) this;
        }

        public Criteria andOverweightNotBetween(Integer value1, Integer value2) {
            addCriterion("overweight not between", value1, value2, "overweight");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}